package com.cnap.model.indicator;

import java.util.List;

/**
 * 树形结构
 *
 * @author xc
 **/
public class TreeNode {
    // msg
    private String msg;
    // 子节点
    private List<TreeNode> children;
    // id 有可能时微服务id，也有可能是caseId
    private String id;
    // cpu gpu
    private String computeArch;

    /**
     * get
     *
     * @return ComputeArch
     */
    public String getComputeArch() {
        return computeArch;
    }

    /**
     * set
     *
     * @param computeArch computeArch
     */
    public void setComputeArch(String computeArch) {
        this.computeArch = computeArch;
    }

    /**
     * get
     *
     * @return Id
     */
    public String getId() {
        return id;
    }

    /**
     * set
     *
     * @param id id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * get
     *
     * @return Msg
     */
    public String getMsg() {
        return msg;
    }

    /**
     * set
     *
     * @param msg msg
     */
    public void setMsg(String msg) {
        this.msg = msg;
    }

    /**
     * get
     *
     * @return Children
     */
    public List<TreeNode> getChildren() {
        return children;
    }

    /**
     * set
     *
     * @param children children
     */
    public void setChildren(List<TreeNode> children) {
        this.children = children;
    }
}
